package cn.zh.base.service;

import cn.zh.base.dto.EmailRegisterDto;
import cn.zh.base.dto.PhoneRegisterDto;

import java.io.IOException;

public interface VerifyCodeService {
    String imageCode(String imageCodeKey) throws IOException;

    void smsCode(PhoneRegisterDto dto);

    void phoneRegister(PhoneRegisterDto dto);

    void emailRegister(EmailRegisterDto dto);

    void emailCode(EmailRegisterDto dto);
}
